#ifndef MINIMAP_H
#define MINIMAP_H

#include <QGraphicsPixmapItem>
#include <QGraphicsScene>
#include <QPixmap>
#include <QGraphicsView>

#include "screenrectitem.h"

class MiniMap : public QObject, public QGraphicsPixmapItem
{

public:
    MiniMap(QPixmap map, QGraphicsScene * scene, QGraphicsView * parent);

    ScreenRectItem * screenRect;

private:
    QGraphicsView * parentView;

};

#endif // MINIMAP_H
